package com.example.servicehi.dao;

import java.util.Date;

public class News {
        private String id;
        private String title;
        private String type;
        private String user_id;
        private String link;
        private String cover;
        private int downloads;
        private Date gmt_create;
        private String create_by;
        private Date gmt_update;
        private String update_by;

    @Override
    public String toString() {
        return "News{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", user_id='" + user_id + '\'' +
                ", link='" + link + '\'' +
                ", cover='" + cover + '\'' +
                ", downloads=" + downloads +
                ", gmt_create=" + gmt_create +
                ", create_by='" + create_by + '\'' +
                ", gmt_update=" + gmt_update +
                ", update_by='" + update_by + '\'' +
                '}';
    }

    public Date getGmt_create() {
            return gmt_create;
        }

        public Date getGmt_update() {
            return gmt_update;
        }

        public int getDownloads() {
            return downloads;
        }

        public String getCover() {
            return cover;
        }

        public String getCreate_by() {
            return create_by;
        }

        public String getId() {
            return id;
        }

        public String getLink() {
            return link;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }

        public String getUpdate_by() {
            return update_by;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public void setCreate_by(String create_by) {
            this.create_by = create_by;
        }

        public void setDownloads(int downloads) {
            this.downloads = downloads;
        }

        public void setGmt_create(Date gmt_create) {
            this.gmt_create = gmt_create;
        }

        public void setGmt_update(Date gmt_update) {
            this.gmt_update = gmt_update;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setUpdate_by(String update_by) {
            this.update_by = update_by;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

}
